using namespace std;

void
bubbleSort(int
list[], int
listLength) {
while (listLength - -)    {
bool swapped = false;

for (int i = 0; i < listLength; i++) {
if (list[i] > list[i + 1]){
swap(list[i], list[i + 1]);
swapped = true;



